package com.mis.clothespos.holdOrder.service;

import com.mis.clothespos.holdOrder.domain.HoldOrder;
import com.mis.clothespos.holdOrder.domain.HoldOrdertoItem;
import com.mis.clothespos.holdOrder.domain.Holdorderitem;

import java.util.List;

public interface HoldService {

    int deleteByPrimaryKey(String id);

    int insert(HoldOrder record);

    int insertSelective(HoldOrder record);

    List<HoldOrder> select();

    List<HoldOrder> selectByPhone(HoldOrder order);

    int updateByPrimaryKeySelective(HoldOrder record);

    int updateByPrimaryKey(HoldOrder record);

    int inserHoldOrderitem(Holdorderitem holdorderitem);

    int insertHoldOrderToItem(HoldOrdertoItem holdOrdertoItem);

    List<Holdorderitem> selectItemById(String orderid);
}
